import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
import "./util/dictUtil"
// 引入vue router tab 组件和样式
import RouterTab from 'vue-router-tab'
import 'vue-router-tab/dist/lib/vue-router-tab.css'
//引入全局css
import "./assets/css/global.css"
import "./assets/icon/iconfont.css"
import store from "./store"
import ElSelectTree from 'el-select-tree';
import "@/network/http"
import deepCopy from "./util/deepCopyUtil"
import {dictMap,dictMapDefault,dictMapDesc} from "./util/dictUtil";
import authenticate from "./util/permissionUtil";

Vue.use(ElSelectTree)
Vue.use(RouterTab)
Vue.config.productionTip = false;

Vue.prototype.$dictMap = dictMap
Vue.prototype.$dictMapDefault = dictMapDefault
Vue.prototype.$dictMapDesc = dictMapDesc
Vue.prototype.$deepCopy = deepCopy
Vue.prototype.$authenticate = authenticate

new Vue({
  router:router,
  store,
  render: h => h(App)
}).$mount('#app')

